package repository

import (
	"context"
	"webook/internal/domain"
)

type ArticleReaderRepository interface {
	Save(ctx context.Context, a domain.Article) (int64, error)
}

type CachedArticleReaderRepository struct {
}

func (c *CachedArticleReaderRepository) Save(ctx context.Context, a domain.Article) (int64, error) {
	//TODO implement me
	panic("implement me")
}

func NewCachedArticleReaderRepository() ArticleReaderRepository {
	return &CachedArticleReaderRepository{}
}
